package com.book.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2023-10-17 10:41:03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_label")
public class Label implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("book_id")
    private Integer bookId;

    @TableField("label1")
    private String label1;

    @TableField("label2")
    private String label2;

    @TableField("label3")
    private String label3;


    public static final String ID = "id";

    public static final String BOOK_ID = "book_id";

    public static final String LABEL1 = "label1";

    public static final String LABEL2 = "label2";

    public static final String LABEL3 = "label3";

}
